home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / logical.z / logical
Encoding:
Text File  |  1998-10-30  |  1.4 KB  |  41 lines

  1. LOGICAL(3I)                                            Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      LLOOGGIICCAALL - Converts between kinds of logical
  6.  
  7. SSYYNNOOPPSSIISS
  8.      LLOOGGIICCAALL (([LL==]_l [,,[KKIINNDD==]_k_i_n_d]))
  9.  
  10. IIMMPPLLEEMMEENNTTAATTIIOONN
  11.      UNICOS, UNICOS/mk, and IRIX systems
  12.  
  13. SSTTAANNDDAARRDDSS
  14.      Fortran 90
  15.  
  16. DDEESSCCRRIIPPTTIIOONN
  17.      The LLOOGGIICCAALL intrinsic function converts between kinds of logical.  It
  18.      accepts the following arguments:
  19.  
  20.      _l       Must be of type logical
  21.  
  22.      _k_i_n_d    Must be a scalar integer initialization expression
  23.  
  24.      LLOOGGIICCAALL is an elemental function.  The name of this intrinsic cannot
  25.      be passed as an argument.
  26.  
  27. RREETTUURRNN VVAALLUUEESS
  28.      The result type is logical.  If _k_i_n_d is present, the kind type
  29.      parameter is that specified by _k_i_n_d; otherwise, the kind type
  30.      parameter is that of default logical.  The value is that of _l.
  31.  
  32. EEXXAAMMPPLLEESS
  33.      LLOOGGIICCAALL((LL ..OORR.. ..NNOOTT.. LL)) has the value true and is of type default
  34.      logical, regardless of the kind type parameter of the logical variable
  35.      _l.
  36.  
  37. SSEEEE AALLSSOO
  38.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  39.      printed version of this man page.
  40.  
  41.